Candlestick Stats [tanayroy]The script detects candlestick patterns and stats related to the pattern. We have included 44 candle patterns to select. You can get stats for any timeframe and holding period. If a particular pattern is not available, the script will give an error.
What is available.
You can view the composite stat in the table panel.
Pattern Name: The pattern name
Pattern Type: Bullish(🟢)/ Bearish(🔴)/ Neutral(⚫)
Total Found: Number of time pattern appeared in the chart
Success: Number of time the pattern generated a positive return
Failure: Number of time the pattern generated a negative return
Highest Return: Highest return generated by the pattern (assuming trade taken at the open of the next candle and closed at the close price of the last candle of the holding period).
Lowest Return: Lowest return generated by the pattern
Average return: Average return generated by the pattern
Total Up Breakout: Number of time patterns take an up breakout(break above high).
Max Up Movement: Maximum up movement recorded by the pattern(distance between pattern high and highest high candle in given holding period).
Min up movement: Minimum up movement recorded by the pattern.
Average Up Movement: Average up movement recorded
Total Down Breakout: Number of time patterns take a down breakout(break below low).
Max Down Movement: Maximum down movement recorded by the pattern.
Min Down Movement: Minimum down movement recorded by the pattern.
Average Down Movement: Average down movement recorded
You can find the number of bars tested, start date and end date in the panel.
You can visually inspect the candle pattern performance in the chart.
Available options:
Detect Trend: You can detect trends based on SMA 50, SMA 50/200 or No detection.
Stat bars: Holding period after detecting the pattern.
Panel position: Position the stat table as per your choice.
Select pattern: Select available predefined pattern.
Label color: choose color according to your choice.
Cari dalam skrip untuk "the script"
Market MonitorThe script can be used to send a JSON message to the webhook once per time. For example, to store market conditions in an external database. The latter is make sense for smaller timeframes due to TradingView limitations on the number of available bars. The interval between messages can be set in the settings. To set up transmitted market metrics, you will probably need to modify the script code to add metrics that are important to you.
tops/bottomsThe script gives market tops and bottoms.
How to use:
-In an uptrend market condition - the bottoms signifies the extent of price pullback and can be used for going long after bottoms
-In an downtrend market condition - the tops signifies the extent of price pullback and can be used for going short after tops
-In a range bound market condition - both tops and bottoms signifies the extent of price extremes in the range channel and can be used for going long after bottoms and going short after tops.
This script is designed after a heavy research done on fibonacci numbers and moving averages where 13 acts as the best reversal point of tops and bottoms, if the market goes beyond it we can adjust period with the next fibonacci numbers ie 21,34,55 etc. to know about the next turning point and trade accordingly.
GREEN/RED BAR TableThe scripts analyzed past 100 candles stick to show the amounts of green and red bar.
INVEST BTC (from @tradinglord)The script highlight point of interest for investors using EMA, RSI and a bit of criticism.
The script is built to be used on a weekly timeframe
When RSI is bellow 35 it can be interesting to invest in BTC, on the opposite when it is above 80 can be where to take a bit of profits.
Also using EMA to flow with the power of the trend or change your bias depending on conditions.
Feel free to use the included alerts to be informed when RSI is telling you something.
The idea is quite simple, and you will not gain x100 your investment, but with these kind of investments and some patience you could make your way out.
Obviously not financial advice, understand what you are doing.
"Sometimes it's better to be rational monkey than a greedy baboon" - Tradinglord 2022
TPTR_Dynamic_Ratio_CorrelatorThe script provides a way to compute ratio between two indexes (or stocks) of your choice, and paints a "up-arrow" below the first candle where and when the value of the ratio exceeds your threshold of choice.
It also creates a table summarizing the value of your securities, and the value of the ratio below.
The script will also alert you with a message (automatically) when the ratio of your security_1 and security_2 exceeds the ratio.
FTRS PROThe script works differently on different time frame. Works best in 1 min time frame. The script take advantage on ichimoku cloud for trend analysis, RSI for 2nd trend identification and a custom command to identify point of entry for the market bias. This is NOT a counter trend strategy, it is purely to capture the market bias on the chart. User able to customize based on their preferences risk to reward ratio and play along with user's own risk appetite.
TFi Price Action Resampling Filter V1 - FULLThe script is resampling the price based on its range/price-action and creates an alternative filter to smoothen price movements.
Overview of features:
Optional stop-loss
Optional flags to control the position entry
Optional flags to control the position exit
Built-in backtesting engine with start balance, position size and pyramiding; each year will be evaluated separately
Inputs for a percentage entry and exit slippage, entry/exit and daily funding fees
Configurable alerts, which follow the exact position of the entry/exit marker
Alert messages contain predefined trading instruction to execute orders via Alertatron or TradeFab's proprietary trading server, or can be defined by the user
The script renders a performance/status table, which shows the current position status and result of the built-in trading simulation results.
It shows the following statistic values:
Current position PnL - also background turns green if position is in profit and red if in loss
Average entry price and number of positions
Current percentage distance to the optional stop-loss level
Current Maximum Draw Down
Number of wins and losses and the win/loss ratio per year and overall
Profit and loss amount, paid fees per year and overall
Profit-ratio and Maximum Draw Down per year and overall
Balance and ROI per year and overall
Evan Cabral Binary Strategy 2 / Lobowass Binary SignalThe script contains 1 Bollinger band with 2 different deviations also incorporated with a maximum and minimum of 30 minutes in green and red and a maximum and minimum of 4 hours in fuchsia. Also a 200 period EMA .
The red arrows appear whenever the stochastic , the DMI-stochastic and the two stochastics RSI are overbought and the low of the candle is breaking the bollnger band.
The green arrows appear whenever the stochastic , the DMI-stochastic and the two stochastics RSI are oversold and the high of the candle is breaking the bollnger band.
What makes this script unique is the combination of different indicators to give a buy or sell signal made by Edrul_Alejandro.
Indicator parameters:
Stochastic = (14,3,3) / (80,20)
Stochastic RSI 1 = (3,3,14,14) / (80,20)
Stochastic RSI 2 = (3,3,6,6) / (80,20)
Stochastic DMI = (10.3) / (90.10)
Bollinger band 1 = (34,2.0)
Bollinge band 2 = (34,2.5)
EMA = 200
TFi Price Action Resampling Filter V1The script is resampling the price based on its range/price-action and creates an alternative filter to smoothen price movements.
Overview of features:
Optional stop-loss
Optional flags to control the position entry
Optional flags to control the position exit
Built-in backtesting engine with start balance, position size and pyramiding
Inputs for a percentage entry and exit slippage, entry/exit and daily funding fees
Configurable alerts, which follow the exact position of the entry/exit marker
Alert messages contain predefined trading instruction to execute orders via Alertatron or TradeFab's proprietary trading server
The script renders a status box at the last bar, which shows the current position status and result of the built-in trading simulation results.
It shows the following statistic values:
Current position PnL - also background turns green if position is in profit and red if in loss
Average entry price and number of positions
Current percentage distance to the optional stop-loss level
Current Maximum Draw Down
Overall number of wins and losses and the win/loss ratio
Overall profit and loss amount, paid fees
Overall profit-ratio and Maximum Draw Down
Overall balance and ROI
MA Strategy Emperor insiliconotThe Script offers 9 different EMAs with 14 different MA types.
The make use of the script is to find the entry on the 1-4 hour altcoins while using the in-built 13/21 crossover strategy to be used in sync with Heikin Ashi cross-over with Fib levels of 0.236 Fib level.
How to use it.
Entry is to be made when the
1. Cross over gives a P(Positive Sign) and the candle completely closes above the cross-over
2. When the Heikin Ashi turns green and the next green HA candle goes above the previous green HA candle.
3. The price should be at-least above the 0.236 Level from the Swing high.
All the Best.
EmperorBTC
Autocorrelation strategy The script is purely mathematical, I plan to add a lot more to the script but for now it shows the autocorrelation 1 and 2 years into the past
(Only works with daily setting)
Retroceso 3%, 5%, 20% desde ATHThe Script shows us the% retracement that an action or ETF normally makes after it reaches its ATH, it also allows us to see the EMA 8, 21 and the MA 50 that show us the trend
El Script nos muestra el % de retroceso que normalmente hace una acción o ETF después que llega a su ATH, también nos permite ver las ver las EMA 8, 21 y la MA 50 que nos muestran la tendencia
CSM Slope Changes [FB]The script highlighted in this chart is what I call the slope changes of the CSM trigger lines,. The trigger lines refer to a special non-lagging moving average derived off currency indices that will act as the potential signal to enter into positions if the rest of conditions as part of the CSM strategy agree. The script acts as an inflection point when an imbalance of flows in currency indices are expected based on the slope of the CSM trigger lines.
When the signal occurs, an area will be colored in green (long) or red (short), depending on the trade direction, of the quality of the signal is sudden in nature. If the slope change doesn't not happy in synchronicity but there is a delay of 1 candle in either index, the color of the signal will be in blue (long) or orange (short).
Pi Cycle Bitcoin Top IndicatorThe script implements the Pi Cycle Top indicator
This indicator identifies tops in the bitcoin market cycle. Historically, the Pi Cycle Top indicator has called out tops in the price of bitcoin within three days.
The script is very easy to use and it is possible to change the following parameters:
the time interval (default value is day);
the days of long moving average (default value is 365)
the days of short moving average (default value is 111)
show the moving average plots
show the Pi Cycle Top label highlighting the cross-point
Cumulative Volume v3The script, for Pine Script version 3, shows how to accumulate volume values during a defined session/period.
The input is the period to use for accumulation. "D" is the default value, useful to view data for each session.
This is slower than version 4 because there is no "var" and you need to use a loop. Also, you can't use "sum( volume , cnt_new_day)" with a variable length argument instead of "for".
EMA21 Speed & AccelThe script calculates an plots first and second derivatives of a EMA of "length" periods, with a default value of 21 periods.
- Blue curve is the first derivative of the EMA, which can be interpreted as the "speed" , "slope", or percentage of gains (or loses) walking over the EMA, measured in % per period. If timeframe is Days, it will show a %/day on the scale @ the right of graphic.
- Fuchsia curve is the second derivative of the EMA, and can be assumed to be the "acceleration" or driving force that could augment or diminish the EMA Speed.
When Speed & Acceleration ar both >=0, EMA is in positive rally, and becoming stepper, so the bacground is colored green.
First and second derivatoves are performed using "basis functions", as are applied in FEM implementation.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
El Script calcula y plotea la primera y segunga derivada de una EMA de "length" períodos, con un valor por defecto de 21.
- La curva azul es la primera derivada de la EMA; que puede ser interpretada conmo su "velocidad", "pendiente" o % de ganancia o pérdida que se tendría sobre la EMA. Cuando la unidad de tiempo del gráfico es Días, permite visualizar en la escala de la derecha el % de ganancia o pérdida por día.
- La curva Fucsia muestra la segunda derivada, o "Aceleración", que se puede interpretar como la fuerza que puede aumentar o dismu¿inuir la pendiente de la EMA.
Cuando la Velocidad y Aceleración son mayores que cero, las ganancias aumentan cada período, y el findo de colorea de verde.
Las derivadas primera y segunda se calculan usando técnicas de funciones de forma, como las aplicadas en el MEF.
MarketStructureBreakThe Script is called a MSB/MarketStructureBreak
This script is meant to teach you on how the 2 candles are responsible for the breakout and shows you patience
The best way to use this indicator is by putting the "SMA 50 SMA 200" settings helps filter out the false calls
As well, if you use this in a bigger time frame like 1 HOUR, 4 HOUR, Daily, and Weekly it will call the best buy and sell Signals
[A618] Fibonacci and Gann based Support and ResistanceThe scripts plots,
Gann and Fibonacci Levels onto the charts taking into account the price action of past 1 year,
The plots are plotted dynamically
Enjoy !
Sqeeze Momentum, DMI and Parabolic SAR strategyThe script combines Sqeeze Momentum, Directional Movement Index (DMI) and Parabolic SAR indicators in long and short scalping strategies
When conditions of long or short position from all mentioned indicators are met script opens position. Once trend changes it closes position and fixes profit
Advantages:
1. Deal start condition includes the folowing filters and requirements:
- Momentum value is adjusted using a relative proportion of volume at each timeframe scale to exclude a chance of opening position at a low impulse stage
- Squeeze momentum trigger condition is automatically checked before a position is opened
- +DI , -DI and ADX values are taken into account to confirm the trend direction
- Position size is taken into account to ensure there will not be opened any excess deals or alerts
2. Exit deal condition was modified using Parabolic SAR indicator. Hence, it is ensured positions will not be closed in a middle of a trend
3. Study is modified into strategy allowing you to use it directly through the trading panel
If you want to obtain access to the strategy please send us a personal message
BarsMerge/LookAhead Script [Example/Test]The script shows and explains to users how BarsMerge-LookAhead ON/OFF changes the behavior of the results.
After you see this and understand, it's important that coders noted the differences and used best practices in implementing the "security" function for their indicators and strategies.
BEARISH Dark Cloud Cover/BULLISH PiercingThe script highlights the 2 candlesticks pattern: BEARISH Dark Cloud Cover/BULLISH Piercing on the main chart screen, and has a preset alert condition. Please use an oscillator that shows oversold and overbought conditions with this script (i.e. StochRSI oscillator).